package com.xunfang.demo;

import com.xunfang.demo.entity.UserDemo;
import com.xunfang.demo.service.UserService;
import com.xunfang.demo.service.UserServiceImpl;

public class Test {
    public static void main(String[] args) {
        UserService userService = new UserServiceImpl();
        UserDemo userDemo = new UserDemo();
        userDemo.setUserName("lxy");
        userDemo.setBirthday(null);
        userDemo.setUserPwd("000");
        userDemo.setAddress("故宫");
        userDemo.setSel("本科");
        userDemo.setChk("打游戏");
        userDemo.setSex("男");
        boolean b = userService.addUser(userDemo);
        System.out.println(b);
    }
}
